package com.tool_stdy.others;

import org.apache.commons.lang3.StringUtils;

/**
 * Created by yan_li on 2016/1/28.
 */
public class TestString {
    public static void main(String[] args) {
        String  src="a%23%24%23%24%25,v,";
        System.out.println(src.split("%",-1).length);
        System.out.println(StringUtils.split(src,"%").length);
    }
}
